<?php
include('lock.php');
?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">  
        <meta name="viewport" content="width=device-width, user-scalable=no">               
        <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.3.0/pure-min.css">
        <!--<link rel="stylesheet" href="css/pure-min.css">-->

        <!--[if lte IE 8]>
        <link rel="stylesheet" href="css/main-grid-old-ie.css">
    <![endif]-->
        <!--[if gt IE 8]><!-->
        <link rel="stylesheet" href="css/main-grid.css">
        <!--<![endif]-->

        <!--[if lte IE 8]>
            <link rel="stylesheet" href="css/layouts/marketing-old-ie.css">
        <![endif]-->
        <!--[if gt IE 8]><!-->
        <link rel="stylesheet" href="css/layouts/marketing.css">
        <!--<![endif]-->
        <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
        <!--<link rel="stylesheet" href="css/font-awesome.css">-->

        <title></title>
    </head>
    <body>
        <div class="header">
            <div class="home-menu pure-menu pure-menu-open pure-menu-horizontal pure-menu-fixed">                
                <ul>  
                    <li><form class="pure-menu-heading" action="welcome.php" method="post">              
                            <button class="pure-button-primary" type="submit"><i class="fa fa-arrow-left"></i></button>                     
                        </form></li>  
                </ul>
            </div>
        </div>

        <div class="splash-container">
            <div class="splash">    
                <h1 class="splash-head">SCHEDA</h1>
                <p class="splash-subhead">
                    TRASCINE SU PER REGISTRARE
                </p>                                 
            </div>
        </div>
        <div class="content-wrapper" id="compila">
            <h2 class="content-head is-center">Inserisci i campi richiesti.</h2>
            <div class="pure-g">
                <div class="l-box-lrg pure-u-1 pure-u-med-1-1"> 
                    <form class="pure-form pure-form-stacked" id="registra" name="registra" action="registra.php" method="post">           
                        <fieldset >
                            <div class="pure-control-group">
                                <label>Scheda contatto</label>
                                <select id="villa" name="villa" required>
                                    <option value="" disabled selected>Villa</option>
                                    <option value="Mirabilis">Villa Mirabilis</option>                    
                                    <option value="Taurinus">Taurinus</option>
                                     <option value="altro">Altro</option>
                                </select>

                                <p></p>
                                <label for="tipologia_evento">Tipologia evento</label>
                                <select id="tipologia_evento" name="tipologia_evento" required>
                                    <option value="" disabled selected>Tipologia evento</option>
                                    <option value="matrimonio">matrimonio</option>
                                    <option value="comunione">comunione</option>
                                    <option value="altro">altro</option>
                                </select>

                                <p></p>
                                <label for="nome_sposo">Nome Sposo</label>
                                <input type="text" id="nome_sposo" name="nome_sposo"  placeholder="Nome sposo?" required/>
                                <p></p>
                                <label for="cognome_sposo">Cognome Sposo</label>
                                <input type="text" id="cognome_sposo" name="cognome_sposo"  placeholder="Cognome sposo?" required/>
                                <p></p>                  
                                <label for="tel_sposo">Telefono Sposo</label>
                                <input type="tel" id="tel_sposo" name="tel_sposo"  placeholder="Numero telefono dello sposo?" required/>
                                <p></p>
                                <label for="email_sposo">Email Sposo</label>
                                <input type="email" id="email_sposo" name="email_sposo"  placeholder="Email dello sposo?" required/>
                                <p></p>
                                <label for="nome_sposa">Nome Sposa</label>
                                <input type="text" id="nome_sposa" name="nome_sposa"  placeholder="Nome sposa?"/>
                                <p></p>
                                <label for="cognome_sposa">Cognome Sposa</label>
                                <input type="text" id="cognome_sposa" name="cognome_sposa"  placeholder="Cognome sposa?" required/>
                                <p></p>
                                <label for="tel_sposa">Telefono Sposa</label>
                                <input type="tel" id="tel_sposa" name="tel_sposa"  placeholder="Numero telefono della sposa?" required/>
                                <p></p>
                                <label for="email_sposa">Email Sposa</label>
                                <input type="email" id="email_sposa" name="email_sposa"  placeholder="Email dello sposa?" required/>
                                <p></p>
                                <label for="data_interessata">Data interessata</label>
                                <input type="date" id="data_interessata" name="data_interessata" min="2014-01-02" required/>
                                <p></p>
                                <label for="data_possibile">Data possibile</label>
                                <input type="date" id="data_possibile" name="data_possibile" min="2014-01-02"/>
                                <p></p>
                                <label for="data_possibile">Data possibile #2</label>
                                <input type="date" id="data_possibile2" name="data_possibile2" min="2014-01-02"/>
                                <p></p>
                                <label for="data_possibile">Data possibile #3</label>
                                <input type="date" id="data_possibile3" name="data_possibile3" min="2014-01-02"/>
                                <p></p>
                                <label for="orario_evento">Fascia oraria evento</label>
                                <select id="orario_evento" name="orario_evento" required>
                                    <option value="" disabled selected>Fascia oraria evento</option>
                                    <option value="pranzo">Pranzo</option>
                                    <option value="cena">Cena</option>
                                </select>
                                <p></p>
                                <label for="ospiti_adulti">Ospiti adulti</label>
                                <input type="number" id="ospiti_adulti" name="ospiti_adulti" min="1" max="500" placeholder="Ospiti adulti?" required/>
                                <p></p>
                                <label for="ospiti_bambini">Ospiti bambini</label>
                                <input type="number" id="ospiti_bambini" name="ospiti_bambini" min="1" max="500" placeholder="Ospiti bambini?" required/>
                                <p></p>
                                <label for="note">Note</label>
                                <textarea id="note" name="note" placeholder="Inserisci qui le note o commenti" maxlength="500" rows="5" required>
                                </textarea>
                                <p></p>
                                <label for="email_contatto">Email di contatto</label>
                                <input type="email" id="email_contatto" name="email_contatto"  placeholder="Email di per contatti?" required/>                               
                                <p></p>

                                <p></p>
                                <label for="timestamp">timestamp</label>
                                <input type="hidden" id="timestamp" name="timestamp"  value="<?php echo date('Y-m-d'); ?>"/>                               
                                <p></p>

                            </div>
                            <div class="pure-controls">
                                <button type="submit" name="Submit" class="pure-button pure-button-primary">REGISTRA</button></div>
                        </fieldset>   
                    </form>

                </div> 
            </div></div>
    </body>
</html>